#ifndef MESSAGEERROREXCEPTION_H
#define MESSAGEERROREXCEPTION_H
class MessageErrorException
{
public:
    explicit MessageErrorException(int id) : error_id(id) {}
    MessageErrorException(const MessageErrorException &exception)
    {
        this->error_id = exception.error_id;
    }
    ~MessageErrorException() = default;
    int get_error() const
    {
        return error_id;
    }

private:
    int error_id;
};
#endif // MESSAGEERROREXCEPTION_H
